﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ERP_RORZE_DLL.Product.database;
using ERP_RORZE_DLL.Product.DAO;
using ERP_RORZE_PERMISSION.Base;

namespace ERP_RORZE_PRODUCT.Product.WTS
{
    public partial class ctrlJigReport : DevExpress.XtraEditors.XtraUserControl
    {
        private LogUtils log;
        DataTable dt;
        ClsWTSDAO clsWTSDAO = new ClsWTSDAO();

        public ctrlJigReport()
        {
            InitializeComponent();
            log = new LogUtils();
        }

        private void ctrlJigReport_Load(object sender, EventArgs e)
        {
            
        }

        private void btnRefresh_Click(object sender, EventArgs e)
        {
            dt = clsWTSDAO.JigReport(dateFrom.Value, dateTo.Value);
            gridControl1.DataSource = dt;
            gridView1.BestFitColumns();
        }
    }
}
